package com.j48.entrancegurad.model;

import java.sql.Timestamp;

/**
 * notice_id 公告编号
 * notice_content 公告内容
 * noticeAdmin_id 发布人编号
 * notice_createtime 发布时间
 * notice_lasttime 最后修改时间
 * notice_status 公告状态
 */
public class Notice {
    private int notice_id;//公告编号
    private String notice_content;//公告内容
    private int notice_admin_id;//发布人编号
    private Timestamp notice_createtime;//发布时间
    private Timestamp notice_lasttime;//最后修改时间
    private int notice_status;//公告状态

    public Notice() {
    }

    public Notice(String notice_content, int notice_admin_id, Timestamp notice_createtime, Timestamp notice_lasttime, int notice_status) {
        this.notice_content = notice_content;
        this.notice_admin_id = notice_admin_id;
        this.notice_createtime = notice_createtime;
        this.notice_lasttime = notice_lasttime;
        this.notice_status = notice_status;
    }

    public Notice(String notice_content, int notice_admin_id, Timestamp notice_createtime) {
        this.notice_content = notice_content;
        this.notice_admin_id = notice_admin_id;
        this.notice_createtime = notice_createtime;
    }

    public int getNotice_id() {
        return notice_id;
    }

    public void setNotice_id(int notice_id) {
        this.notice_id = notice_id;
    }

    public String getNotice_content() {
        return notice_content;
    }

    public void setNotice_content(String notice_content) {
        this.notice_content = notice_content;
    }

    public int getNotice_admin_id() {
        return notice_admin_id;
    }

    public void setNotice_admin_id(int notice_admin_id) {
        this.notice_admin_id = notice_admin_id;
    }

    public Timestamp getNotice_createtime() {
        return notice_createtime;
    }

    public void setNotice_createtime(Timestamp notice_createtime) {
        this.notice_createtime = notice_createtime;
    }

    public Timestamp getNotice_lasttime() {
        return notice_lasttime;
    }

    public void setNotice_lasttime(Timestamp notice_lasttime) {
        this.notice_lasttime = notice_lasttime;
    }

    public int getNotice_status() {
        return notice_status;
    }

    public void setNotice_status(int notice_status) {
        this.notice_status = notice_status;
    }
}
